home *** CD-ROM | disk | FTP | other *** search
- -- card: 2852 from stack: in
- -- bmap block id: 3701
- -- flags: 0000
- -- background id: 2588
- -- name:
- ----- HyperTalk script -----
- -- <namePolybutton> 1 58,27,358,100
- -- 0,54 6,-34 21,-20 71,2 39,0 8,22 125,-5 4,-17 16,0 -6,51 -157,3 -5,17 -33,3 16,-22 -105,0
- -- <shapePolybutton pentagon> 2 122,186,210,270
- -- 78,35 -32,38 -46,-19 5,-49 48,-12 25,42
- -- <shapePolybutton hexagon> 3 370,136,434,190
- -- 89,32 -43,41 -56,-19 -12,-57 46,-40 53,19 12,56
- -- <>
-
- on mouseDown
- if polybutton(the script of this card) is "pass" then pass mouseDown
- end mouseDown
-
- on shapePolybutton whatShape
- put "You clicked on the " & whatShape
- end shapePolybutton
-
- on namePolybutton
- answer "Polybuttons, by Greg Anderson." with "Okay"
- end namePolybutton
-
-
-
- -- part contents for background part 26
- ----- text -----
-
- ©1990
- Greg Anderson
- greggor@apple.com
-
-
- This stack contains:
- polybutton XFCN version 1.0 final Click
- polyedit XFCN version 1.0d11 on
- Shapes
-
- Both XFCNs There are still some
- work with to problems with polyedit.
- HC 2.0. test Use with caution, and make a backup
- of any stack you use polyedit with.
-
- -- part contents for background part 27
- ----- text -----
- Card 1 of 10